module.exports = {
  runtimeCompiler: true,
  configureWebpack: {
    devtool: 'source-map'
  },
  devServer: {
    proxy: {
      '/app-api': {
        target: 'https://esim.yoyotravel.my/prod-api/app-api/',
        changeOrigin: true,
        ws: true, // 启用 WebSocket 代理
        pathRewrite: {
          '^/app-api': ''
        }
      }
    }
  }
  
};


